<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文本插值</title>
    <script src="vue.js"></script>
</head>
<body>
<div id="div">
    <!--
        {{ Vue 插值表达式 }}
        v-html：设置标签体HTML
        v-text：
    -->
<div>{{ msg }}</div>
<div v-html="msg"></div>
<div v-text="msg"></div>
</div>
</body>
<script>
    new Vue({
        el:"#div",
        data:{
            msg:"<b>heihei</b>"
        }
    });
</script>
</html>